package org.socialresume.client;

import org.socialresume.client.mvp.gin.Injector;
import org.socialresume.client.mvp.presenter.MainPresenter;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class SocialResume implements EntryPoint {
	public void onModuleLoad(){
		final Injector ginjector = GWT.create(Injector.class);

        final MainPresenter mainPresenter = ginjector.getMainPresenter();

        mainPresenter.bind();

        RootPanel.get().add(mainPresenter.getDisplay().asWidget());
	}
}
